FlexReport for WinForms
IndexOfName メソッド (NamedCollection<TItem>)


C1.Document アセンブリ > C1.Document 名前空間 > NamedCollection<TItem> クラス : IndexOfName メソッド
The name of the item to locate.
Returns the 0-based index of a INamedObject with specified name in the current NamedCollection<TItem>.
シンタックス
'宣言
 
Public Function IndexOfName( _
   ByVal name As System.String _
) As System.Integer
'使用法
 
Dim instance As NamedCollection(Of TItem)
Dim name As System.String
Dim value As System.Integer
 
value = instance.IndexOfName(name)
public System.int IndexOfName( 
   System.string name
)

パラメータ

name
The name of the item to locate.

戻り値の型

The 0-based index of the specified item, or -1 if the item was not found.
参照

参照

NamedCollection<TItem> クラス
NamedCollection<TItem> メンバ